#pragma once

#include "Application.h"
#include "Log.h"

extern Orange::Application* Orange::CreateApplication();

int main(int argc, char** argv) {


	Orange::Log::Init();
	 //HZ_PROFILE_BEGIN_SESSION("Setup", "Profile-Setup.json");


	auto app = Orange::CreateApplication();
	//HZ_PROFILE_END_SESSION();
	//HZ_PROFILE_BEGIN_SESSION("Runtime", "Profile-Runtime.json");
	app->Run();
	//HZ_PROFILE_END_SESSION();
	//HZ_PROFILE_BEGIN_SESSION("Shutdown", "Profile-Shutdown.json");
	delete app;
	//HZ_PROFILE_END_SESSION();
}

